﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace KFC.MonAnF
{
    public class GaRanTruyenThong : MonAnDon
    {
        public GaRanTruyenThong()
        {
       //    MonAnFactory.add(this);
        }

        public override string LayTenLoaiDoiTuong()
        {
            return "GaRanTruyenThong";
        }

        public override MonAn Clone()
        {
            MonAn monAnNew = new GaRanTruyenThong();
            monAnNew.MaMonAn = MaMonAn;
            monAnNew.TenMonAn = TenMonAn;
            monAnNew.DonGia = DonGia;
            monAnNew.SoLuong = SoLuong;
            monAnNew.ChiTietMonAn = ChiTietMonAn;
            monAnNew.LoaiDoiTuong = LoaiDoiTuong;
            return monAnNew;
        }
    }
}
